
package com.qianxun.module.datasource1.admin.mapper;

import com.qianxun.module.datasource1.admin.entity.SysMenuRoleRelation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author: admin
* @date: 2019-11-14
* @version: 1.0.0
*/
public interface SysMenuRoleRelationMapper extends BaseMapper<SysMenuRoleRelation> {

    /**
     * 通过指定角色id查询所有菜单id
     * @param roleId
     * @return
     */
    List<Long> listMenuIdByRoleId(@Param("roleId") Long roleId);
}
